<template>
  <h5>
    detail的内容~~~{{ $route.params.id }}
    <span>{{ $route.query.name }}</span>
  </h5>
</template>

<script>
export default {
  // mounted() {
  //   console.log('detail组件挂载了')
  // },
}
</script>

<style></style>
